<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- Bootstrap -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/login.css" />
	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/style/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />

	<!-- jQuery UI -->
	<!--<link href="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/jquery-ui/jquery-ui-1.10.2.custom.css" rel="stylesheet" type="text/css" />-->
	<!--[if lt IE 9]>
		<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/jquery-ui/jquery.ui.1.10.2.ie.css"/>
	<![endif]-->

	<!-- Theme -->
	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/css/main.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/css/plugins.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/css/responsive.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/css/icons.css" rel="stylesheet" type="text/css" />

	<link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/css/fontawesome/font-awesome.min.css">
	<!--[if IE 7]>
		<link rel="stylesheet" href="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/css/fontawesome/font-awesome-ie7.min.css">
	<![endif]-->
<!--
	<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>

-->	
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

<?php
if (!Yii::app()->user->isGuest){ ?>
<!-- untuk header -->
<?php echo $this->renderPartial('webroot.themes.thinkfrogs.views.layouts.header'); ?>
<?php
}
?>
<div id="container">
		
<!-- untuk menu -->
<?php //echo $this->renderPartial('webroot.themes.thinkfrogs.views.layouts.menu'); ?>


<?php echo $content; ?>	


</div>






<!--=== JavaScript ===-->

	<!--script type="text/javascript" src="<?php //echo Yii::app()->theme->baseUrl; ?>/style/assets/js/libs/jquery-1.10.2.min.js"></script-->
	<?php Yii::app()->clientScript->registerCoreScript('jquery'); ?>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/jquery-ui/jquery-ui-1.10.2.custom.min.js"></script>

	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/bootstrap/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/js/libs/lodash.compat.min.js"></script>

	<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
	<!--[if lt IE 9]>
		<script src="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/js/libs/html5shiv.js"></script>
	<![endif]-->

	<!-- Smartphone Touch Events -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/touchpunch/jquery.ui.touch-punch.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/event.swipe/jquery.event.move.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/event.swipe/jquery.event.swipe.js"></script>

	<!-- General -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/js/libs/breakpoints.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/respond/respond.min.js"></script> <!-- Polyfill for min/max-width CSS3 Media Queries (only for IE8) -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/cookie/jquery.cookie.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/slimscroll/jquery.slimscroll.horizontal.min.js"></script>

	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/sparkline/jquery.sparkline.min.js"></script>
	

	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/daterangepicker/moment.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/daterangepicker/daterangepicker.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/blockui/jquery.blockUI.min.js"></script>

	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/fullcalendar/fullcalendar.min.js"></script>

	<!-- Noty -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/noty/jquery.noty.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/noty/layouts/top.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/noty/themes/default.js"></script>
	
	<!-- Forms -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/typeahead/typeahead.min.js"></script> <!-- AutoComplete -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/autosize/jquery.autosize.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/inputlimiter/jquery.inputlimiter.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/uniform/jquery.uniform.min.js"></script> <!-- Styled radio and checkboxes -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/tagsinput/jquery.tagsinput.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/select2/select2.min.js"></script> <!-- Styled select boxes -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/fileinput/fileinput.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/duallistbox/jquery.duallistbox.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/bootstrap-inputmask/jquery.inputmask.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/bootstrap-wysihtml5/wysihtml5.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/bootstrap-multiselect/bootstrap-multiselect.min.js"></script>
	
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/nestable/jquery.nestable.min.js"></script>

	<!-- Form Validation -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/validation/jquery.validate.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/validation/additional-methods.min.js"></script>
	
	<!-- DataTables -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/datatables/jquery.dataTables.min.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/datatables/DT_bootstrap.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/datatables/responsive/datatables.responsive.js"></script> <!-- optional -->

	<!-- Globalize -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/globalize/globalize.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/globalize/cultures/globalize.culture.de-DE.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/plugins/globalize/cultures/globalize.culture.ja-JP.js"></script>

	<!-- App -->
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/js/app.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/js/plugins.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/js/plugins.form-components.js"></script>

	<script>
	$(document).ready(function(){
		"use strict";

		App.init(); // Init layout and core plugins
		Plugins.init(); // Init all plugins
		FormComponents.init(); // Init all form-specific plugins
	});
	</script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/js/custom.js"></script>
	<script type="text/javascript" src="<?php echo Yii::app()->theme->baseUrl; ?>/style/assets/js/demo/form_components.js"></script>
	<style>
	.datepicker{width:100px}
	</style>
	
	<script type="text/javascript" >
 $(function() {
$( ".datepicker" ).datepicker({
                showOn: 'button',
                buttonImage: 'icon-calendar.gif',
				dateFormat:'yy-mm-dd',
                buttonImageOnly: true
            });
});
</script>

</body>
</html>
